![]() | Assign | Assignments with calculations | ![]() |
@Assign Log = 'poor'
Log is a List attribute and 'poor' is a literal string.
@Assign Log = Log1
Log and Log1 are both List attributes.
@Assign Var = 'Royal Hotel'
Var is a string variable and 'Royal Hotel' is a literal string.
@Assign Var = Name
Name is a Text Attribute
@Assign Date_of_Birth = '25/12/1990'
Date_of_Birth is a date attribute and '25/12/1990' is a literal string.
Note that generally the @DecodeDate & @EncodeDate commands should be used when assigning dates to automatically take into account the Date format of the target deployment user.
@Assign LogAtt = str[1]
@Assign TmpStr = log[2,1]
Where LogAtt is a List Attribute and TmpStr is a String variable.
str & log are string arrays.